package com.clstu.staticmathod_;

public class Main01 {


    public static void main(String[] args) {
        for (int i = 0; i < args.length; i++) {
            System.out.println(args[i]);
        }

        for(int i=0;i<10;i++){
            for(int j=0;j<10;j++){
               for(int k=0;k<10;k++){
                   for(int l=0;l<10;l++){
                       if(work(k,l)== work1(i,j)*work1(i,j) - work1(j,i)*work1(j,i) && i!=j && i!=k && i!=l && j!=k && j!=l && k!=l){
                           System.out.print(work(i,j)+"  ");
                           System.out.println(work(k,l));
                       }
                   }
               }
            }
        }
    }

    public  static int work(int a,int b){
        return  1001*a+100*b+10*b;
    }

    public static int work1(int a,int b){
        return 10*a+b;
    }
}
